import { ViteSSG } from 'vite-ssg/single-page'
import App from './App.vue';
import pinia from './store/index.js';
import i18n from './i18n/index.js';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@assets/styles/global.scss';
import '@assets/icon/iconfont.css';
import 'virtual:svg-icons-register';

globalThis.__VUE_PROD_DEVTOOLS__ = false;


export const createApp = ViteSSG(
    App,
    ({ app }) => {
        app.use(pinia);
        app.use(i18n);
        app.use(ElementPlus);
    }
);

// const app = createApp(App);
// app.use(pinia);
// app.use(i18n);
// app.use(ElementPlus);
// app.mount('#app');
